<?php

use think\facade\Route;

Route::rule('tid/[:tid]','portal/lists/index','GET');
Route::rule('aid/[:aid]','portal/article/index','GET');
Route::rule('add/:tid','portal/post/add','GET|POST');
Route::rule('edit/:aid','portal/post/edit','GET|POST');